package com.treasure.mall.zbqmallapi.vo.auction;

import com.treasure.mall.biz.entity.auction.AuctionSessionPO;
import com.treasure.mall.biz.vo.product.ProductApiVo;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/7/17
 */
@Data
@NoArgsConstructor
public class AuctionSessionVO extends AuctionSessionBaseVO {
    private static final long serialVersionUID = -8914151131435001203L;

    private ProductApiVo product;

    public AuctionSessionVO(AuctionSessionPO sessionPO) {
        super(sessionPO);
        this.product = new ProductApiVo(sessionPO.getProductPO());
    }
}
